
import 'package:amway_superapp_creator_plugin/analysis/zhuge_identify.dart';
import 'package:amway_superapp_creator_plugin/utils/sp_util.dart';
import 'package:zhugeio/zhugeio.dart';

class ZhugeShareAnalysis {


  static shareAction(bool isShare) {
    var shareType = SpUtil.getData(amwayAccesstypeKey);
    var ada = SpUtil.getData(amwayIdKey);
    Zhugeio.track("SuperAPP_分享事件", {
      "事件类型": "分享事件",
      "分享人ID": ada,
      "分享人类型": shareType, //ABO
      "分享渠道": "微信聊天",
      "卡片名称": "创玩小站",
      "分享类型": isShare ? "Share" : "ShareLink",
      "页面名称": "Portal",
      "页面类型": "Creators",
      "行为类型": "分享",
      "行为对象": "创玩小站"
    });
  }

}